package com.stox.repository;

import java.util.List;

import com.stox.model.entity.ScripEntity;

public interface ScripRepository {

	public List<ScripEntity> findAll();
	
	public List<ScripEntity> findByExchangeCode(String exchangeCode);
	
	public ScripEntity save(ScripEntity scrip);
	
	public ScripEntity saveAndFlush(ScripEntity scrip);
	
	public ScripEntity findByCode(String scripCode);
	
	public ScripEntity findOne(String id);
	
	public boolean exists(String code);
}
